﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExIF35
{
    public class Exposure
    {
        public String Number;
        public String Aperture;
        public String Speed;
        public String FocalLength;
        public String Date;
        public String DateDigitized = "";
        public String Title;
        public String Description;
        public String Photographer;
        public int Program = 0;
        public int Orientation;
        public int Flash;
        public int Meter;
        public int LightSource;
        public String ImageFile = "";

        public Exposure()
        {
        }
        public Exposure(String Number, String Aperture, String Speed, String Date, String DateDigitzed, String Title, String Descriprtion, String Photographer, String FL)
        {
            this.Number = Number;
            this.Aperture = Aperture;
            this.Speed = Speed;
            this.FocalLength = FL;
            this.Date = Date;
            this.DateDigitized = DateDigitzed;
            this.Title = Title;
            this.Description = Descriprtion;
            this.Photographer = Photographer;
        }
        public void linkFile(String file)
        {
            ImageFile = file;
        }

        public void addExtended(int prog, int orient, int flash, int meter, int light)
        {
            this.Program = prog;
            this.Orientation = orient;
            this.Flash = flash;
            this.Meter = meter;
            this.LightSource = light;
        }

        public void addLensInfo()
        {

        }

        public void updateBase(String Number, String Aperture, String Speed, String Date, String DateDigitzed, String Title, String Descriprtion, String Photographer, String FL)
        {
            this.Number = Number;
            this.Aperture = Aperture;
            this.Speed = Speed;
            this.FocalLength = FL;
            this.Date = Date;
            this.DateDigitized = DateDigitzed;
            this.Title = Title;
            this.Description = Descriprtion;
            this.Photographer = Photographer;
        }

    }
}
